package com.shop.cloud.model.request.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiBindPhoneRequestModel extends ApiRestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;

    @JsonProperty("type")
    @ApiModelProperty(value = "类型", example = "type", required = true)
    private String type;
    
    @JsonProperty("phone")
    @ApiModelProperty(value = "手机号码", example = "1380000000", required = true)
    private String phone;
    
    @JsonProperty("code")
    @ApiModelProperty(value = "验证码", example = "1234", required = true)
    private String code;

    @JsonProperty("password")
    @ApiModelProperty(value = "密码", example = "123123123", required = true)
    private String password;
    
    @JsonProperty("openid")
    @ApiModelProperty(value = "第三方账号唯一标识", example = "123123123", required = true)
    private String openid;
    
    @JsonProperty("avatar")
    @ApiModelProperty(value = "头像", example = "1234", required = false)
    private String avatar;
    
    @JsonProperty("nickname")
    @ApiModelProperty(value = "昵称", example = "1234", required = true)
    private String nickname;
    
    @JsonProperty("sex")
    @ApiModelProperty(value = "性别", example = "0", required = true)
    private String sex;
    
    @JsonProperty("inviteCode")
    @ApiModelProperty(value = "邀请码", example = "", required = false)
    private String inviteCode;
    
    @JsonProperty("verify")
    @ApiModelProperty(value = "加密字符串", example = "", required = true)
    private String verify;

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getVerify() {
		return verify;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}

	
 
}
